const login = r => require.ensure([], () => r(require('../module/system/login.vue')), 'system');
const test = r => require.ensure([], () => r(require('../module/system/test.vue')), 'system');
const introduction = r => require.ensure([], () => r(require('../module/system/introduction.vue')), 'system');
const agree = r => require.ensure([], () => r(require('../module/system/agree.vue')), 'system');
//课堂风采
const videoAdd = r => require.ensure([], () => r(require('../module/application/video/add.vue')), 'video');
const videoDetail = r => require.ensure([], () => r(require('../module/application/video/detail.vue')), 'video');
//作业
const HomeworkAdd = r => require.ensure([], () => r(require('../module/application/homework/add.vue')), 'homework');
const homeworkDetail = r => require.ensure([], () => r(require('../module/application/homework/detail.vue')), 'homework')
const homeworkStudentDetail = r => require.ensure([], () => r(require('../module/application/homework/studentDetail.vue')), 'homework')
//消息通知
const noticeAdd = r => require.ensure([], () => r(require('../module/application/notice/add.vue')), 'notice')
const noticeDetail = r => require.ensure([], () => r(require('../module/application/notice/detail.vue')), 'notice')
//课堂精华
const classroomAdd = r => require.ensure([], () => r(require('../module/application/classroom/add.vue')), 'classroom')
const classroomDetail = r => require.ensure([], () => r(require('../module/application/classroom/detail.vue')), 'classroom')
//成长手记
const growthAdd = r => require.ensure([], () => r(require('../module/application/growth_note/add.vue')), 'growth_note')
const growthDetail = r => require.ensure([], () => r(require('../module/application/growth_note/detail.vue')), 'growth_note')
const growthStudentList = r => require.ensure([], () => r(require('../module/application/growth_note/studentList.vue')), 'growth_note')
//今日作品
const opusAdd = r => require.ensure([], () => r(require('../module/application/opus/add.vue')), 'opus')
const opusAddList = r => require.ensure([], () => r(require('../module/application/opus/addList.vue')), 'opus')
const opusDetail = r => require.ensure([], () => r(require('../module/application/opus/detail.vue')), 'opus')
const opusStuList = r => require.ensure([], () => r(require('../module/application/opus/studentList.vue')), 'opus')
//打卡作业
const multiworkAdd = r => require.ensure([], () => r(require('../module/application/multiwork/add.vue')), 'multiwork')
const multiworkSubmit = r => require.ensure([], () => r(require('../module/application/multiwork/submit.vue')), 'multiwork')
const multiworkDetail = r => require.ensure([], () => r(require('../module/application/multiwork/detail.vue')), 'multiwork')
const multiworkStudentDetail = r => require.ensure([], () => r(require('../module/application/multiwork/studentDetail.vue')), 'multiwork')
export default [ //公共
    {
        path: '/', component: login
    },
    {
        path: '/test', component: test
    },
    {
        path: '/introduction', component: introduction
    },
    {
        path: '/agree', component: agree
    },
    //作业
    {
        path: '/app/homework/add', component: HomeworkAdd
    },
    {
        path: '/app/homework/detail', component: homeworkDetail
    },
    {
        path: '/app/homework/studentDetail', component: homeworkStudentDetail
    },
    // 课堂风采
    {
        path: '/app/video/add', component: videoAdd
    },
    {
        path: '/app/video/detail', component: videoDetail
    },
    //消息通知
    {
        path: '/app/notice/add', component: noticeAdd
    },
    {
        path: '/app/notice/detail', component: noticeDetail
    },
    //课堂精华
    {
        path: '/app/classroom/add', component: classroomAdd
    },
    {
        path: '/app/classroom/detail', component: classroomDetail
    },
    //成长手记
    {
        path: '/app/growth/add', component: growthAdd
    },
    {
        path: '/app/growth/detail', component: growthDetail
    },
    {
        path: '/app/growth/studentList', component: growthStudentList
    },
    //今日作品
    {
        path: '/app/opus/add', component: opusAdd
    },
    {
        path: '/app/opus/addList', component: opusAddList
    },
    {
        path: '/app/opus/detail', component: opusDetail
    },
    {
        path: '/app/opus/studentList', component: opusStuList
    },
    //打卡作业
    {
        path: '/app/multiwork/add', component: multiworkAdd
    },
    {
        path: '/app/multiwork/submit', component: multiworkSubmit
    },
    {
        path: '/app/multiwork/detail', component: multiworkDetail
    },
    {
        path: '/app/multiwork/studentDetail', component:multiworkStudentDetail

    },
]
